Fix scrolling back with scroll-down-aggressively.
authorEli Zaretskii <eliz@gnu.org>
Sun, 27 Mar 2011 20:01:46 +0000 (22:01 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 27 Mar 2011 20:01:46 +0000 (22:01 +0200)
commit8858bf563cad8291014ec8e0bd08f7d09e398d0b
treef48650b8f026c006998143c7e213f7c813317469
parent4bfff726161a8876ea3257d49a49abc1072ff941
Fix scrolling back with scroll-down-aggressively.

 src/xdisp.c (try_scrolling): Clean up the case of PT below the
 margin at bottom of window: scroll_max can no longer be INT_MAX.
 (redisplay_window): Find character position of margin and use
 that, rather than adding margin to PT.
src/ChangeLog
src/xdisp.c